﻿using SourceCodeIoc.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SourceCodeIoc.Model
{
    /// <summary>
    /// 老师
    /// </summary>
    [IOCService("Singlaton")]
    public class Teacher
    {
        /*public School school { set; get; }*/
        [IOCInject]
        public Student student { set; get; }

        public void Classes()
        {
            Console.WriteLine("Tony老师开始上NET架构班课");
        }
    }
}
